package com.consult.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.consult.config.dto.LoginDto;
import com.consult.entity.Consultant;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-06-22
 */
public interface IConsultantService extends IService<Consultant> {

    /**
     * 获取分页
     *
     * @param page
     * @return
     */
    Page<Consultant> getConsultantPage(Page<Consultant> page);

    LoginDto getByUserName(String name);
}
